#include "StoryDetailsWidget.h"

StoryDetailsWidget::StoryDetailsWidget(QWidget *parent): QWidget(parent), ui(new Ui::StoryDetailsWidgetClass())
{
	ui->setupUi(this);
}

StoryDetailsWidget::~StoryDetailsWidget()
{
	delete ui;
}

void StoryDetailsWidget::mouseReleaseEvent(QMouseEvent* ev)
{
	Q_UNUSED(ev)
	emit on_storyDetails_close();
}

void StoryDetailsWidget::setUi(StoryDetailsData* storyDetailsData)
{
	this->storyDetailsData = storyDetailsData;
}
